/*** 
 * @Date: 2020-07-10 10:58:01
 * @LastEditors: leehave
 * @LastEditTime: 2020-07-10 11:47:26
 */
/***
 * @Date: 2020-07-10 10:58:01
 * @LastEditors: leehave
 * @LastEditTime: 2020-07-10 10:58:01
 */
import Layout from "@/page/index/";
export default [
  {
    path: "/login",
    name: "登录页",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/page/login/index"),
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  {
    path: "/404",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/components/error-page/404"),
    name: "404",
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  {
    path: "/403",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/components/error-page/403"),
    name: "403",
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  {
    path: "/500",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/components/error-page/500"),
    name: "500",
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  {
    path: "/",
    name: "主页",
    redirect: "/home"
  },
  {
    path: "*",
    redirect: "/404"
  }
];
